/**
 * Project Name:mauto-web
 * File Name:JyItemTcServiceImpl.java
 * Package Name:com.inftech.mauto.jy.service.impl
 * Date:2017年6月29日下午12:32:55
 * Copyright (c) 2017, inf-technology Co., Ltd. All Rights Reserved.
 *
*/

package com.inftech.mauto.jy.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.inftech.mauto.jy.dao.JyItemTcDao;
import com.inftech.mauto.jy.service.JyItemTcService;

/**
 * ClassName:JyItemTcServiceImpl <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Date: 2017年6月29日 下午12:32:55 <br/>
 * 
 * @author Administrator
 * @version
 * @since JDK 1.7
 */

@Service("jyItemTcServiceImpl")
public class JyItemTcServiceImpl implements JyItemTcService {

	@Resource
	private JyItemTcDao jyItemTcDao;

	/**
	 * 
	 * TODO 查看套餐列表（可选）.
	 * 
	 * @see com.inftech.mauto.jy.service.JyItemTcService#getTcList(java.lang.String)
	 */
	@Override
	public List<Map<String, Object>> getTcList(String tcName) {
		return jyItemTcDao.getTcList(tcName);
	}

	/**
	 * 
	 * TODO 删除套餐（可选）.
	 * @see com.inftech.mauto.jy.service.JyItemTcService#updateTc(java.util.List)
	 */
	@Override
	public int updateTc(List<String> list) {
		return jyItemTcDao.updateTc(list);
	}

}
